﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace cludg.Domain.Users
{
	public static class Roles
	{
		public static UserRole[] All
		{
			get
			{
				return new UserRole[] { UserRole.Anonymouse, UserRole.Author, UserRole.User, UserRole.Admin };
			}
		}

		public static UserRole[] NotAnonymouse
		{
			get
			{
				return new UserRole[] { UserRole.User, UserRole.Author, UserRole.Admin };
			}
		}

		public static  UserRole[] AuthorAndAdmin
		{
			get
			{
				return new UserRole[] { UserRole.Author, UserRole.Admin };
			}
		}

		public static UserRole[] Admins
		{
			get
			{
				return new UserRole[] { UserRole.Admin };
			}
		}
	}
}
